/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-12-01
 * Time:10:33
 */
class MyThread2 implements Runnable {
    @Override
    public void run() {
        System.out.println("哈哈");
    }
}
public class Thread2 {
    public static void main(String[] args) {
        MyThread2 t = new MyThread2();
        Thread t2 = new Thread(t);
        t2.start();
        System.out.println("嘻嘻");
    }
}
